package com.qidian.buy.util;

/**
 * Author: 戴着假发的程序员
 * Date: 2023-06-16 09:31
 * company: 起点编程
 * Description:
 **/
// 定义系统可能要使用的一些常量
public interface Constant {
    // 响应状态码
    int RESPONSE_STATUS_OK = 200;
    int RESPONSE_STATUS_FAIL = 500;
    int RESPONSE_STATUS_ERROR = 501;
    int RESPONSE_STATUS_REPEAT = 303;
    // 性别
    int GENDER_DEFAULT = 1;
    int GENDER_MALE = 2;
    int GENDER_WOMAN = 3;


    // 订单状态
    int ORDER_STATUS_NEW = 1;
    int ORDER_STATUS_COOKING = 10;
    int ORDER_STATUS_COOKED = 20;
    int ORDER_STATUS_END = 30;
    int ORDER_STATUS_CANCEL = 90;

    // 数据状态码
    int DATA_STATUS_OK = 1;
    int DATA_STATUS_DISCARD = 2;



    // 响应的结果类型
    String CONTENT_TYPE_JSON_UTF8 = "application/json;charset=utf-8";
}
